<template>
  <div class="child-app-container">
    <el-container>
      <el-header>
        <el-menu mode="horizontal" :router="true">
          <el-menu-item index="/">首页</el-menu-item>
          <el-menu-item index="/about">关于</el-menu-item>
        </el-menu>
      </el-header>
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>
  </div>
</template>

<script setup lang="ts">
// ...
</script>

<style>
.child-app-container {
  width: 100%;
  height: 100%;
}

.el-container {
  height: 100%;
}

.el-main {
  padding: 20px;
}
</style>